<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.thymeleaf.org"
      layout:decorator="layout/layout">
<title layout:fragment="title">系统列表</title>
<body>
<div class="main-content" layout:fragment="content">
    <div class="breadcrumbs" id="breadcrumbs">
        <ul class="breadcrumb">
            <li>
                <i class="icon-home home-icon"></i>
                <a href="/admin/">首页</a>
            </li>
            <li class="active">系统列表</li>
        </ul>
    </div>
    <!-- .page-content -->
    <div class="page-content">
        <div class="page-header">
            <h1>
                系统列表
            </h1>
        </div>
        <div class="pricing-span"  th:each=" p : ${list}" style="margin-right: 50px">
            <div class="widget-box pricing-box-small">
                <div class="widget-header header-color-blue" style="text-align: center;padding: 0px">
                    <h5 class="bigger lighter"  th:text="${p.name}"></h5>
                </div>
                <div class="widget-body">
                    <div class="widget-main no-padding">
                        <ul class="list-unstyled list-striped pricing-table">
                            <li>
                                <a th:href="@{/admin/role/list/{platformId}(platformId=${p.id})}" th:text="角色"></a>
                            </li>
                            <li>
                                <a th:href="@{/admin/resource/list/{platformId}(platformId=${p.id})}" th:text="资源"></a>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script layout:fragment="script" th:src="@{/assets/js/platform/home.js}"></script>
</body>
</html>